from django import forms
from .models import InfoData 

class InfoDataForm(forms.ModelForm):
    class Meta:
        model = InfoData
        fields = ["title", "content"]
        widgets = {
            'content': forms.Textarea(attrs={'cols': 80, 'rows': 10}),
        }


